package com.tanhua.dubbo.server.api;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.domain.db.User;

public interface UserApi {

    User findOne(QueryWrapper wrapper);

    User findByMobile(String mobile);

    Long insert(User user);

    void update(User user);
}
